package com.moran.service;

import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class UserService {

    /**
     * 获得用户信息
     *
     * @param userId
     * @return
     */
    public Map<String, Object> getUserInfo(String userId) {
        Map<String, Object> map = new HashMap<>();
        map.put("name", "张三");
        map.put("age", 30);
        map.put("sex", "男");
        return map;
    }

}
